Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase minimum number of ECS service containers #10

Merged

Conversation

dwyeradam
Copy link
Contributor

Services with a single container running may experience downtime on a ECS cluster scale down.
By increasing the number to higher than 1 for PreProd and Prod then the service will not experience outage when the cluster scales back

We should also ignore changes for the desired_count. This means that if terraform is run when the environment has scaled then it wont be scaled back down by terraform
lifecycle { ignore_changes = ["desired_count"] }
hashicorp/terraform#4950

@dwyeradam dwyeradam force-pushed the eq-1835-increase-minimum-number-of-ecs-service-containers branch from e9f42e5 to b7fce9e Compare February 15, 2018 16:46
Copy link
Contributor

@MIslam92 MIslam92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Taking it back till that conflict is fixed

@dwyeradam dwyeradam force-pushed the eq-1835-increase-minimum-number-of-ecs-service-containers branch from 82e3e80 to c4bd43c Compare February 16, 2018 10:32
@dwyeradam
Copy link
Contributor Author

@MIslam92 conflict resolved.

@MIslam92 MIslam92 merged commit bbef4e9 into master Feb 16, 2018
@MIslam92 MIslam92 deleted the eq-1835-increase-minimum-number-of-ecs-service-containers branch February 16, 2018 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants